class UserObserver < ActiveRecord::Observer
  def after_create(user)
    # For now, automatically authenticate user rather than sending
    # an email to have the user authenticate.
    #UserMailer.deliver_signup_notification(user)
    user.activate()
  end

  def after_save(user)
    #UserMailer.deliver_activation(user) if user.recently_activated?
  end
end
